<template>
    <div id="index">
        <span>index</span>
        <keep-alive>
            <!-- 二级路由出口 -->
            <router-view></router-view>
        </keep-alive>
    </div>
</template>
<script>
export default {

}
</script>
<style scoped>
#index {
    background-color: pink;
    width: 400px;
    height: auto;
    margin: 200px auto;
    text-align: center;
    /* vertical-align: middle; */
}
</style>